package com.phonemica.activitys;

import android.app.Activity;
import android.os.Bundle;

import com.phonemica.App;
import com.phonemica.R;
import com.phonemica.cache.ImageCache;
import com.phonemica.utils.AsyncHttpUtils;
import com.phonemica.utils.FangyanType;

public class BaseActivity extends Activity {

	protected ImageCache mCache;

	protected AsyncHttpUtils mAsyncHttpUtils;

	protected int[] icons =  new int[]{R.drawable.icon_gcoding,
			R.drawable.icon_gcoding_1,
			R.drawable.icon_gcoding_2,
			R.drawable.icon_gcoding_3,
			R.drawable.icon_gcoding_4,
			R.drawable.icon_gcoding_5,
			R.drawable.icon_gcoding_6,
			R.drawable.icon_gcoding_7,
			R.drawable.icon_gcoding_8,
			R.drawable.icon_gcoding_9,
			R.drawable.icon_gcoding,
			R.drawable.icon_gcoding_b};
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mCache = ImageCache.getInstance(getApplicationContext());
		mCache.setCacheMaxSize(1 * 1024 /* mega */* 1024 /* kilo */);

		mAsyncHttpUtils = App.mAsyncHttpUtils;
	}

	@Override
	protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
	}
}
